package zoran.wang.graph;

/**
 * 图结构的边
 *
 * @author wangzhuo
 * @time 2025-04-14-21:50
 */
public class Edge {

    // 指向节点
    public int to;
    // 权重
    public int weight;

    public Edge() {
    }

    public Edge(int to, int weight) {
        this.to = to;
        this.weight = weight;
    }
}
